package com.ffyc.ssm.dao;

import com.ffyc.ssm.modle.Ad;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface AdDao {

    List<Ad> findAdList(Ad ad);

    void uploadAd(Ad ad);

    void deleteAd(@RequestParam("id") Integer id);


}
